|
PBL Group 21
|
This is the User Manual for Alpha Blender. The user can measure overlap data and apply transparency masks to projected content, though Alpha Blender has some conditions that depend on external devices and specific environmental configurations. Alpha Blender visualizes data obtained from physical projector measurements and records the data for further usage in multi-projector setting. This User Manual is divided into the following sections:
The application is built on a modular Python architecture designed for high-performance image manipulation using the OpenCV library. The system is divided into two primary components:
The program applies gamma-corrected alpha blending to overlapping projector images to avoid visible seams. Standard linear blending often results in "hotspots" or dark bands because projectors do not have a linear luminance response.
Example of Latex: The Pythagorian logic of image blending uses the Gamma Correction equation ( \( M(x) = B(x)^{1/\gamma} \)) which was proved to compensate for projector luminance behavior.
In this formula:
Below is the visualization of the data processing process. To create an alpha mask, the program identifies the overlap region and applies the calculated curve to the alpha channel.
The following images represent the raw projector inputs. Without the alpha mask, the overlapping region where these two images meet would appear significantly brighter than the rest of the display.
| |
| Left Image: Gamma-Corrected Fade | Right Image: Gamma-Corrected Fade |
The following images show the result of the MainAlphaBlender execution. The transparency has been adjusted based on the side parameter—"left" or "right"—defined in the configuration.
| |
| Left Image: Gamma-Corrected Fade | Right Image: Gamma-Corrected Fade |
The ConfigReader module parses config.json to determine the overlap pixels based on the physical width of the projected image and the distance between the projector lenses. If the physical width is 200cm and the distance is 150cm, the software calculates an overlap ratio of approximately 16.6%.